package com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.editor.detail.consumer.source.command;

import com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.editor.detail.consumer.Source;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.core.Ext;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public final class RefreshListener extends ButtonListenerAdapter {
	@Override
	public void onClick(Button button, EventObject e) {
		Source source = (Source) Ext.getCmp(Source.class.getName());
		source.refresh();
	}
}